#ifndef ZOOMER_H
#define ZOOMER_H

#include <QWidget>
#include <QLabel>
#include <QScrollArea>

class Zoomer : public QWidget
{
    Q_OBJECT
public:
    explicit Zoomer(QWidget *parent = 0);
    void loadNewImage(QString i);
    QImage getImage();
public slots:
    void updateScale(double d);
private:
    void scaleImage();
    double scale;

    QLabel *imageLabel;
    QScrollArea *scrollArea;


};

#endif // ZOOMER_H
